webpack-bundle-analyzer (visualizes bundle composition)
source-map-explorer (analyzes bundle size per file)
ESLint (import/no-unused-modules)
Replace heavy libraries, Prefer lightweight alternatives
Load non-critical libraries dynamically
Compress images with tools like: sharp, svgo
Use modern formats (WebP, AVIF) instead of PNG/JPG.
Lazy-load images: <img loading='lazy' src='image.jpg' alt='...' />
Minify code: Webpack: TerserPlugin (default in production mode).
Rollup: @rollup/plugin-terser
Exclude source maps in production (devtool: false).
Use Server-Side Rendering (SSR) or Static Site Generation (SSG) vai next js